/**
 * @class CSViewerInfoPanel
 * @extends Ext.Panel
 * 
 * <p>Container for Ext.form.FormPanel forms with information about CSViewerTreePanel tree objects.</p>
 */
var CSViewerInfoPanel = Ext.extend(Ext.Panel, {
	xtype      : 'xCSViewerInfoPanel',
	id         : 'CSViewerInfoPanel',
	region     : 'center',
	layout     : 'card',
	activeItem : 0,
	autoDestroy: false,
	bodyStyle  : 'border-top:0px',
	defaults   : {
		border: false
	},
	initComponent: function(){				
		CSViewerInfoPanel.superclass.initComponent.call(this);
		CSViewerApp.EventManager.on('delete', function(ob) {
			Ext.Msg.alert('Info', 'Node ' + ob.text + ' has been deleted');
		});
    }
});

Ext.reg('xCSViewerInfoPanel', CSViewerInfoPanel);